package com.motu.monstercity.server.gate;

public class MessageCache {

    private int cmdCode;
    private int resCode;
    private byte[] resData;
    private int messageId;
    private long messageTime;

    public MessageCache(int cmdCode, int resCode, byte[] resData, int messageId, long messageTime) {
        this.cmdCode = cmdCode;
        this.resCode = resCode;
        this.resData = resData;
        this.messageTime = messageTime;
        this.messageId = messageId;
    }


    public int getCmdCode() {
        return cmdCode;
    }

    public int getresCode() {
        return resCode;
    }

    public byte[] getResData() {
        return resData;
    }

    public long getMessageTime() {
        return messageTime;
    }

    public int getMessageId() {
        return messageId;
    }


}
